﻿using AnlianCommon.Common.Domains.SheepManagement;
using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.SheepCommands.SheepDiees
{
    public class SheepDieQueryCommand:IRequest<ResultPage<SheepDie>>
    {
        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime? StartDieDate { get; set; }
        public DateTime? EndDieDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? SheepNumber { get; set; }
        /// <summary>
        /// 死亡原因(1.腹泻 2.肺炎 3.产前瘫 4.产后瘫 5.酸中毒 6.应激猝死 7.梭卷 8.尿结石 9.发热 10.脱肛 11.黄疸 12.猝死 )
        /// </summary>
        public int? DieReason { get; set; }
        public int PageIndex {  get; set; }
        public int PageSize { get; set; }
    }
}
